<template>
  <Dialog title="设定">
    <el-form ref="formRef" label-width="130px">
      <el-form-item label="角色设定" prop="systemMessage">
        <el-input type="textarea" rows="4" placeholder="请输入角色设定" />
      </el-form-item>
      <el-form-item label="模型" prop="modelId">
        <el-select placeholder="请选择模型">
          <el-option />
        </el-select>
      </el-form-item>
      <el-form-item label="温度参数" prop="temperature">
        <el-input-number placeholder="请输入温度参数" :min="0" :max="2" :precision="2" />
      </el-form-item>
      <el-form-item label="回复数 Token 数" prop="maxTokens">
        <el-input-number placeholder="请输入回复数 Token 数" :min="0" :max="4096" />
      </el-form-item>
      <el-form-item label="上下文数量" prop="maxContexts">
        <el-input-number placeholder="请输入上下文数量" :min="0" :max="20" />
      </el-form-item>
    </el-form>
    <template #footer>
      <el-button type="primary">确 定</el-button>
      <el-button>取 消</el-button>
    </template>
  </Dialog>
</template>
<script setup lang="ts"></script>
